package com.sun.service.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sun.common.core.entity.BaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;


@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@TableName("tm_vhc_vehicle_movement")
public class TmVhcVehicleMovementDo extends BaseDO {

    private static final long serialVersionUID = 1L;
    /**
     * 工厂id
     */
    @TableField("tm_bas_plant_id")
    private Long tmBasPlantId;

    /**
     * 工厂No
     */
    @TableField("tm_bas_plant_no")
    private String tmBasPlantNo;

    /**
     * 产线Id
     */
    @TableField("tm_bas_line_id")
    private Long tmBasLineId;

    /**
     * 产线No
     */
    @TableField("tm_bas_line_no")
    private String tmBasLineNo;

    /**+
     * 车间id
     */
    @TableField("tm_bas_work_shop_id")
    private Long tmBasWorkShopId;

    /**+
     * 车间No
     */
    @TableField("tm_bas_work_shop_no")
    private String tmBasWorkShopNo;

    /**
     * 车辆ID
     */
    @TableField("tm_vhc_vehicle_id")
    private Long tmVhcVehicleId;

    /**
     * 工艺路径ID
     */
    @TableField("tm_bas_route_id")
    private Long tmBasRouteId;

    /**
     * 到达工位ID
     */
    @TableField("tm_bas_uloc_id")
    private Long tmBasUlocId;

    /**
     * 录入系统的时间
     */
    @TableField("input_time")
    private Date inputTime;

    /**
     * 车辆到达时间
     */
    @TableField("scan_time")
    private Date scanTime;

    /**
     * 扫描补登用户
     */
    @TableField("scan_username")
    private String scanUsername;

    /**
     * 备用字段
     */
    @TableField("extra_info")
    private String extraInfo;

    /**
     * 车辆状态
     */
    @TableField("node_nature")
    private String nodeNature;

    /**
     * 在该扫描点是否车辆废弃（0：否 1：是）
     */
    @TableField("is_discard")
    private Integer isDiscard;

    /**
     * 是否setout扫描记录（0：否 1：是）
     */
    @TableField("is_setout")
    private Integer isSetout;

    /**
     * 0正常过点  1补等
     */
    @TableField("scan_type")
    private Integer scanType;


}
